    <form name="theForm" action="{$webRoot}admin/news/edit/{$item.id}/" method="POST">
    {foreach $fields as $field}
        <div style="padding: 5px; border: 1px solid black">
        <b>{$field}:</b> <input type="text" name="{$field}" value="{$item[$field]|escape}" />
        </div>
    {/foreach}
        <input type="submit" value="SAVE" />
    </form>
    <div style="margin: 12px; padding:12px; background: #CCC;">
    {$theForm}
    </div>
        <p>
        <a href="{$webPrefix}users/logout">Log out?</a>
        </p>
    {block name="item-menu"}
        <p>
        <a href="{$webPrefix}{$YzAdmin}news/create">Create item?</a>
        <a href="{$webPrefix}{$YzAdmin}news/delete">Delete item?</a>
        </p>
    {/block}
